package com.example.model.entity;

import java.time.LocalDateTime;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 *  实体类
 *
 * @author zhangr
 * @Description Created on 2020-12-29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TPlanRecordDetail implements Serializable {

    @TableId(value = "detail_id", type = IdType.ID_WORKER_STR)
    private String detailId;

    private String detailObj;

    /**
     * 0失败，1成功
     */
    private Long status;

    /**
     * 有效性
     */
    private Long isValid;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;

    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateDate;

    /**
     * 备注
     */
    private String remarks;
  private String planRecordId;
}
